View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000903 | T99X171.00 SKB Eagle | SW Issue | public | 2020-09-01 13:51 | 2021-12-23 17:23 |
| Reporter | Assigned To | Due Date | |||
| Priority | urgent | Severity | s2-severe | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Summary | 0000903: [BTF] don't work for karaoke apps. please check BTF MIC HAL. | ||||
| Description | HI Kerwin we finished BTF HAL for MIC on May. .mic_on_off : set mic on/ off . mic_vol : Set Mic Volume . Mic_echo_level : Set Mic Echo Level please check this issue of karaoke Apps with a current FW. p.s : Intek box is working about this issue. Thanks. | ||||
| Tags | No tags attached. | ||||
| Attach Tags | |||||
| User List |
(ALTech) SY Yoon , (ALTech) Wooshin Kang , (SW) Jacky Chiang , (SW) Sam Yang |
|---|
|
2020-09-01 13:51 developer |
|
|
|
Hi Rex, Please have Jr to help test Karaoke app running on Android 10 of Eagle box. |
|
|
hi Rex Give a Target date here. Thanks. |
|
|
Hi Jason: We have tested the karaoke apps. It seems that the microphone sound cannot appear from the apps. But recording through the microphone is work. Hi River: Need your help to confirm whether the audio routing is correct. |
|
|
Hi Jason, I test this operation with the newest FW. And we found that when we open the APP "tjnrb_36_3.6_191205.apk" to sing, the HAL function "DEVICE_SetMicVolume" is never called, so the MIC output volume is always zero. Please check this with M/W & APP teams. Thanks. |
|
|
hi Sam as we talk it, please set as 100 for MicVolume. and set proper value for echo value. Thanks |
|
|
Hi Jason, I found a weird point(as description below), and I need M/W, APP team to check it: When I open APP "tjnrb_36_3.6_191205.apk" M/W calls the "DEVICE_SetMicOnOff" only, but doesn't call "DEVICE_Create". And when I press "back" button on the RCU, the "DEVICE_Create" is called. But "DEVICE_Create" should be called first before "DEVICE_SetMicOnOff". Please ask M/W and APP team to check it. THX. |
|
|
Hi Jason, I try two test APPs again, and there is still problem. Please show the log below to M/W to prove there is timing issue of calling HAL API: BFX-AT100:/ # logcat | grep -iE "DEVICE_Create|DEVICE_SetMicOnOff|DEVICE_SetMicVolume|DEVICE_SetMicEchoLevel" enter APP 09-17 15:18:17.517 3534 3534 D DEVICE : samtest1 BTF|DEVICE_SetMicOnOff|216|IN| device:f07102f0, enable:1 09-17 15:18:17.517 3534 3534 D DEVICE : ++DEVICE_SetMicOnOff enable(true) 09-17 15:18:18.622 7564 7564 D r_submix: submix_audio_device_create_pipe_l(addr=0, idx=9) "don't see DEVICE_Create ! ! " press "back" button 09-17 15:18:56.441 7569 7605 D DEVICE : BTF|DEVICE_Create|28|IN| 09-17 15:18:56.441 7569 7605 D DEVICE : BTF|DEVICE_Create|38| device:ec605018 09-17 15:18:56.441 7569 7605 D DEVICE : BTF|DEVICE_Create|49|OUT| press "OK" enter APP 09-17 15:19:27.101 7569 7605 D DEVICE : BTF|DEVICE_SetMicOnOff|216|IN| device:ec605018, enable:1 09-17 15:19:27.101 7569 7605 D DEVICE : ++DEVICE_SetMicOnOff enable(true) 09-17 15:19:27.107 7569 7605 D DEVICE : BTF|DEVICE_SetMicOnOff|242|MIDDLE| device -329232360, MIC_VOLUME_DEFAULT_VALUE 100, MIC_ECHO_DEFAULT_DECAY 100 09-17 15:19:27.107 7569 7605 D DEVICE : BTF|DEVICE_SetMicVolume|285|IN| device:ec605018, volume_level:100 09-17 15:19:27.107 7569 7605 D DEVICE : ++DEVICE_SetMicVolume volume_level(100) 09-17 15:19:27.117 7569 7605 D DEVICE : BTF|DEVICE_SetMicVolume|311|OUT| 09-17 15:19:27.118 7569 7605 D DEVICE : BTF|DEVICE_SetMicEchoLevel|349|IN| device:ec605018, echo_level:100 09-17 15:19:27.118 7569 7605 D DEVICE : ++DEVICE_SetMicEchoLevel echo_level(100) 09-17 15:19:27.118 7569 7605 D DEVICE : BTF|DEVICE_SetMicOnOff|247|OUT| end If their log is different from mine, please tell me. THX. |
|
|
Hi Jason, Please find the full logcat log as the attached file "20200917_logcat_testSetMicOn_poyonrb_APP.log". |
|
|
hi SAM When call DEVICE_SetMicOnOff , it happen a crash. after this, as re-work btvservice , so it is called for DEVICE_Create. please compare btw normal working. after DEVICE_SetMicOnOff enable(true), don't print DEVICE : BTF|DEVICE_SetMicOnOff|247|OUT| and it is crashed as android.hardware.audio@2.0-service-droidlogic. 09-17 16:15:01.147 5046 5699 D BTVCORE-JNI: tvcoreJni_setMicOnOff start 09-17 16:15:01.148 3870 3919 I TVService: [TVService::setMicOnOff]: onOff(1) 09-17 16:15:01.148 3870 3919 I FrontPanelManager: [setMicOnOff] called onOff(1) 09-17 16:15:01.148 3870 3919 D DEVICE : samtest1 BTF|DEVICE_SetMicOnOff|216|IN| device:ec810270, enable:1 *09-17 16:15:01.148 3870 3919 D DEVICE : ++DEVICE_SetMicOnOff enable(true) 09-17 16:15:01.148 3870 3919 D hal_mic : hal_mic:HAL_MicSetOnOff v101(MIC=on)* 09-17 16:15:01.150 3469 3469 D MesonHwc: Fix video zorder for noalpha(0) 09-17 16:15:01.151 3870 3919 E libc : Access denied finding property "vendor.vasott.micstate" 09-17 16:15:01.151 3870 3919 I AmlAudioOutPort: eagle mic get source success 09-17 16:15:01.151 3870 3919 I AmlAudioOutPort: eagle mic get sink success 09-17 16:15:01.148 3870 3870 W HwBinder:3870_1: type=1400 audit(0.0:1325): avc: denied { getattr } for path="/dev/_properties_/u:object_r:vendor_platform_prop:s0" dev="tmpfs" ino=1639 scontext=u:r:btvservice_hal:s0 tcontext=u:object_r:vendor_platform_prop:s0 tclass=file permissive=0 09-17 16:15:01.152 3762 7538 I audio_hw_primary: ++adev_create_audio_patch 09-17 16:15:01.152 3762 7538 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=1,sink_config->type=1,aml_dev->patch_src=10 09-17 16:15:01.152 3762 7538 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be: 09-17 16:15:01.152 3762 7538 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xf0b17b48 09-17 16:15:01.152 3762 7538 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing 09-17 16:15:01.152 3762 7538 I audio_hw_primary: adev_create_audio_patch: dev->dev patch: inport(INPORT_BUILTIN_MIC), outport(OUTPORT_HDMI) 09-17 16:15:01.152 3762 7538 D audio_hw_primary: create_patch_l: enter 09-17 16:15:01.152 3762 7538 I audio-subMixingFactory: +switchNormalStream() stream 0x0, on = 0 --------- beginning of crash 09-17 16:15:01.152 3762 7538 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1b4 in tid 7538 (HwBinder:3762_5), pid 3762 (audio@2.0-servi) 09-17 16:15:01.167 3469 3469 D MesonHwc: Fix video zorder for noalpha(0) 09-17 16:15:01.184 3469 3469 D MesonHwc: Fix video zorder for noalpha(0) 09-17 16:15:01.189 7742 7742 I crash_dump32: obtaining output fd from tombstoned, type: kDebuggerdTombstone 09-17 16:15:01.190 3606 3606 I /system/bin/tombstoned: received crash request for pid 7538 09-17 16:15:01.190 7742 7742 I crash_dump32: performing dump of process 3762 (target tid = 7538) 09-17 16:15:01.195 7742 7742 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 09-17 16:15:01.195 7742 7742 F DEBUG : Build fingerprint: 'SKB/BFX_AT100/BFX-AT100:10/QTT5.200429.010/15.521.6-20200910:userdebug/release-keys' 09-17 16:15:01.195 7742 7742 F DEBUG : Revision: '0' 09-17 16:15:01.195 7742 7742 F DEBUG : ABI: 'arm' 09-17 16:15:01.196 7742 7742 F DEBUG : Timestamp: 2020-09-17 16:15:01+0900 09-17 16:15:01.196 7742 7742 F DEBUG : pid: 3762, tid: 7538, name: HwBinder:3762_5 >>> /vendor/bin/hw/android.hardware.audio@2.0-service-droidlogic <<< 09-17 16:15:01.196 7742 7742 F DEBUG : uid: 1041 09-17 16:15:01.196 7742 7742 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1b4 09-17 16:15:01.196 7742 7742 F DEBUG : Cause: null pointer dereference 09-17 16:15:01.196 7742 7742 F DEBUG : r0 00000041 r1 00000000 r2 7333b36c r3 00000003 09-17 16:15:01.196 7742 7742 F DEBUG : r4 00000000 r5 00000000 r6 80000004 r7 00000001 09-17 16:15:01.196 7742 7742 F DEBUG : r8 f3785ee4 r9 ffffffff r10 f3775c00 r11 f374aa80 09-17 16:15:01.196 7742 7742 F DEBUG : ip f0b175e0 sp f0b17ac8 lr f2364dcf pc f2364dce Working normal. case Log *09-17 16:15:16.491 7762 7796 D DEVICE : samtest1 BTF|DEVICE_SetMicOnOff|216|IN| device:f25050a0, enable:1 09-17 16:15:16.491 7762 7796 D DEVICE : ++DEVICE_SetMicOnOff enable(true) * 09-17 16:15:16.496 7762 7796 D DEVICE : samtest BTF|DEVICE_SetMicOnOff|242|MIDDLE| device -229617504, MIC_VOLUME_DEFAULT_VALUE 100, MIC_ECHO_DEFAULT_DECAY 100 09-17 16:15:16.507 7762 7796 D DEVICE : BTF|DEVICE_SetMicOnOff|247|OUT| Thanks. |
|
|
Hi Jason, Let me check it. |
|
|
Hi Jason, I have fixed the issue. Please check it. THX. |
|
|
fixed in r52202i |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2020-09-01 13:51 |
|
New Issue | |
| 2020-09-01 13:51 |
|
File Added: poyo_app_release_1.4_191205.apk | |
| 2020-09-01 13:51 |
|
File Added: tjnrb_36_3.6_191205.apk | |
| 2020-09-01 13:51 |
|
Assigned To | => (SW) Kerwin Chen |
| 2020-09-01 13:51 |
|
Status | new => assigned |
| 2020-09-01 13:51 |
|
Description Updated | |
| 2020-09-01 13:52 |
|
Issue Monitored: (ALTech) SY Yoon | |
| 2020-09-01 13:53 |
|
Issue Monitored: (ALTech) Wooshin Kang | |
| 2020-09-01 20:52 | (SW) Jacky Chiang | Assigned To | (SW) Kerwin Chen => (SW) Rex Huang |
| 2020-09-01 20:52 | (SW) Jacky Chiang | Note Added: 0004189 | |
| 2020-09-01 21:02 | (SW) Jacky Chiang | Issue Monitored: (SW) Jacky Chiang | |
| 2020-09-02 18:13 |
|
Note Added: 0004199 | |
| 2020-09-03 13:49 | (SW) Rex Huang | Note Added: 0004215 | |
| 2020-09-03 13:50 | (SW) Rex Huang | Assigned To | (SW) Rex Huang => (SW) River Wong |
| 2020-09-08 15:12 |
|
Assigned To | (SW) River Wong => (SW) Sam Yang |
| 2020-09-08 22:12 | (SW) Sam Yang | Note Added: 0004267 | |
| 2020-09-10 16:20 |
|
Note Added: 0004291 | |
| 2020-09-14 09:38 | (SW) Sam Yang | Issue Monitored: (SW) Sam Yang | |
| 2020-09-14 20:07 | (SW) Sam Yang | Note Added: 0004330 | |
| 2020-09-17 14:27 | (SW) Sam Yang | Note Added: 0004370 | |
| 2020-09-17 15:28 | (SW) Sam Yang | File Added: 20200917_logcat_testSetMicOn_poyonrb_APP.log | |
| 2020-09-17 15:28 | (SW) Sam Yang | Note Added: 0004374 | |
| 2020-09-18 10:08 |
|
Note Added: 0004379 | |
| 2020-09-18 13:52 | (SW) Sam Yang | Note Added: 0004386 | |
| 2020-09-21 22:59 | (SW) Sam Yang | Note Added: 0004414 | |
| 2020-09-21 23:01 | (SW) Sam Yang | Assigned To | (SW) Sam Yang => (ALTech) Jason Park |
| 2020-09-21 23:01 | (SW) Sam Yang | Status | assigned => resolved |
| 2020-09-21 23:01 | (SW) Sam Yang | Resolution | open => fixed |
| 2020-09-21 23:01 | (SW) Sam Yang | Note Added: 0004415 | |
| 2020-09-23 14:02 |
|
Status | resolved => acknowledged |
| 2021-12-23 17:23 | (SW) Jacky Chiang | Status | acknowledged => closed |